package com.joekai.view_demo.gather_loading;

import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;

import androidx.appcompat.app.AppCompatActivity;

import com.joekai.view_demo.R;

/**
 * @author joekai
 */
public class GatherLoadingActivity extends AppCompatActivity {

    GatherLoadingView gatherLoadingView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_gather_loading);
        setTitle("聚合加载框");
        gatherLoadingView = findViewById(R.id.gatherLoadingView);
     new Handler(Looper.myLooper()).postDelayed(() -> gatherLoadingView.disappear(), 2000);
    }
}